Skip to content

Update docs to use top-level CMake targets #12807

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 47 commits into from
Jul 29, 2025
Merged

Conversation

GregoryComer
Copy link
Member

@GregoryComer GregoryComer commented Jul 24, 2025

Update the "Building from Source" and "Using ExecuTorch with C++" docs to specify the top-level CMake targets. I also added some info to the selective build docs to document the CMake flags which control selective build with the executorch_kernels target.

This is done in the context of top-level CMake targets, tracked in #12293.

GregoryComer and others added 11 commits July 21, 2025 14:38
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@GregoryComer
Copy link
Member Author

GregoryComer commented Jul 24, 2025

Stack from ghstack (oldest at bottom):

Copy link

pytorch-bot bot commented Jul 24, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/12807

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure

As of commit e9af248 with merge base a70b7a8 (image):

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

GregoryComer added a commit that referenced this pull request Jul 24, 2025
ghstack-source-id: 9877dbf
ghstack-comment-id: 3111967018
Pull-Request: #12807
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 24, 2025
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
GregoryComer added a commit that referenced this pull request Jul 24, 2025
ghstack-source-id: 8e1d39e
ghstack-comment-id: 3111967018
Pull-Request: #12807
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
GregoryComer added a commit that referenced this pull request Jul 24, 2025
ghstack-source-id: a1fcb32
ghstack-comment-id: 3111967018
Pull-Request: #12807
[ghstack-poisoned]
@mergennachin
Copy link
Contributor

cc @lucylq

[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
GregoryComer added a commit that referenced this pull request Jul 28, 2025
ghstack-source-id: 4da6ffe
ghstack-comment-id: 3111967018
Pull-Request: #12807
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
GregoryComer added a commit that referenced this pull request Jul 28, 2025
ghstack-source-id: 880222b
ghstack-comment-id: 3111967018
Pull-Request: #12807
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@GregoryComer GregoryComer requested a review from SS-JIA as a code owner July 28, 2025 23:21
GregoryComer added a commit that referenced this pull request Jul 28, 2025
ghstack-source-id: 27e29ab
ghstack-comment-id: 3111967018
Pull-Request: #12807
[ghstack-poisoned]
[ghstack-poisoned]
GregoryComer added a commit that referenced this pull request Jul 29, 2025
ghstack-source-id: 1abc70a
ghstack-comment-id: 3111967018
Pull-Request: #12807
Base automatically changed from gh/GregoryComer/89/head to main July 29, 2025 06:10
[ghstack-poisoned]
GregoryComer added a commit that referenced this pull request Jul 29, 2025
ghstack-source-id: bd444bf
ghstack-comment-id: 3111967018
Pull-Request: #12807
Copy link

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@GregoryComer GregoryComer merged commit da8af21 into main Jul 29, 2025
106 of 112 checks passed
@GregoryComer GregoryComer deleted the gh/GregoryComer/90/head branch July 29, 2025 16:37
@lucylq lucylq mentioned this pull request Jul 30, 2025
@lucylq
Copy link
Contributor

lucylq commented Jul 30, 2025

Can we CP this to 0.7, do these changes only reflect code in main?

larryliu0820 pushed a commit that referenced this pull request Jul 30, 2025
added some changes for flat_tensor build, but realized these are updated
on main here: #12807, though I
don't think the code-changes are in main.

otherwise just a few nits.
@GregoryComer
Copy link
Member Author

Can we CP this to 0.7, do these changes only reflect code in main?

The actual CMake changes aren't in 0.7, so this should probably wait for 1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants